package com.huaru.formboot.form.entity.Dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 组件模板表
 * </p>
 *
 * @author wz
 * @since 2021-04-15
 */
@ApiModel
public class ComponentTemplate implements Serializable {


    private static final long serialVersionUID = -8000387582143569675L;
    /**
     * 组件id
     */
    @ApiModelProperty(value = "组件id",example = "123")
    private String componentId;

    /**
     * 组件名称
     */
    @ApiModelProperty(value = "组件名称",example = "组件名称")
    private String componentName;

    /**
     * 组件类型 1--单栏行 2--多栏行 3--多行多列
     */
    @ApiModelProperty(value = "组件类型",example = "单栏行")
    private String componentType;

    /**
     * 组件描述
     */
    @ApiModelProperty(value = "组件描述",example = "组件描述")
    private String componentDesc;

    /**
     * 组件排序
     */
    @ApiModelProperty(value = "组件排序",example = "1")
    private String componentSort;
    /**
     * 多行多列
     *
     */
    @ApiModelProperty(value = "多行多列",example = "5")
    private String rowsLimit;

    /**
     * 元素样式
     */
    @ApiModelProperty(value = "元素样式",example = "{}")
    private String element;

    /**
     * 创建时间
     */

    private LocalDateTime createTime;

    /**
     * 更新时间
     */

    private LocalDateTime updateTime;

    public ComponentTemplate() {
    }

    public ComponentTemplate(String componentId, String componentName, String componentType, String componentDesc, String componentSort, String rowsLimit, String element, LocalDateTime createTime, LocalDateTime updateTime) {
        this.componentId = componentId;
        this.componentName = componentName;
        this.componentType = componentType;
        this.componentDesc = componentDesc;
        this.componentSort = componentSort;
        this.rowsLimit = rowsLimit;
        this.element = element;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId;
    }

    public String getComponentName() {
        return componentName;
    }

    public void setComponentName(String componentName) {
        this.componentName = componentName;
    }

    public String getComponentType() {
        return componentType;
    }

    public void setComponentType(String componentType) {
        this.componentType = componentType;
    }

    public String getComponentDesc() {
        return componentDesc;
    }

    public void setComponentDesc(String componentDesc) {
        this.componentDesc = componentDesc;
    }

    public String getComponentSort() {
        return componentSort;
    }

    public void setComponentSort(String componentSort) {
        this.componentSort = componentSort;
    }

    public String getRowsLimit() {
        return rowsLimit;
    }

    public void setRowsLimit(String rowsLimit) {
        this.rowsLimit = rowsLimit;
    }

    public String getElement() {
        return element;
    }

    public void setElement(String element) {
        this.element = element;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
